From: Richard M. Stallman Date: Thu, 22 Jul 1993 07:17:28 +0000 (+0000) Subject: (map-y-or-n-p): If LIST is nil, just return. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~94838 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=fba985162a1c261eaaf05cc0e199d12af397be97;p=emacs.git (map-y-or-n-p): If LIST is nil, just return. --- diff --git a/lisp/map-ynp.el b/lisp/map-ynp.el index 28491b5626b..a0badd5ed3a 100644 --- a/lisp/map-ynp.el +++ b/lisp/map-ynp.el @@ -89,7 +89,7 @@ Returns the number of actions taken." query-replace-map))) (actions 0) prompt char elt tail def delayed-switch-frame - (next (if (or (symbolp list) + (next (if (or (and list (symbolp list)) (subrp list) (byte-code-function-p list) (and (consp list)